<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>hybridMPIC: __Cellgroup Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">hybridMPIC
   </div>
   <div id="projectbrief">A fully relativisitic 2d Particle-In-Cell(PIC) code, with explicit solver, MPI&amp;OpenMP support</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="../../classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="../../functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">__Cellgroup Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>网格二维数组群，来表征一个box内的cell信息，cell是其内部的member  
 <a href="../../d3/dac/class____Cellgroup.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../da/d64/cellinf_8h_source.html">cellinf.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for __Cellgroup:</div>
<div class="dyncontent">
<div class="center"><img src="../../d5/d8c/class____Cellgroup__coll__graph.png" border="0" usemap="#____Cellgroup_coll__map" alt="Collaboration graph"/></div>
<map name="____Cellgroup_coll__map" id="____Cellgroup_coll__map">
<area shape="rect" id="node3" href="../../d0/de9/structParticles.html" title="Particles" alt="" coords="454,147,527,173"/><area shape="rect" id="node4" title="STL class. " alt="" coords="207,147,287,173"/><area shape="rect" id="node5" title="STL class. " alt="" coords="5,139,132,181"/><area shape="rect" id="node6" href="../../d6/d9c/class____Vect2.html" title="__Vect2\&lt; double \&gt;" alt="" coords="181,81,313,108"/><area shape="rect" id="node7" href="../../da/d1a/class____Vect3.html" title="__Vect3\&lt; double \&gt;" alt="" coords="181,217,313,244"/><area shape="rect" id="node11" href="../../d6/d9c/class____Vect2.html" title="__Vect2\&lt; int \&gt;" alt="" coords="698,459,806,485"/><area shape="rect" id="node12" href="../../d6/d9c/class____Vect2.html" title="__Vect2\&lt; long \&gt;" alt="" coords="693,515,811,541"/></map>
<center><span class="legend">[<a href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afb3bb7b6b39411f2434a978fef00d481"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb3bb7b6b39411f2434a978fef00d481"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>__Cellgroup</b> (const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a5cc95e62e220546295a5a362f06711aa">xygridmin</a>, const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#aed6b25f55f7b3c5a016a918ff1a6639d">xygridmax</a>, const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt; &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#ae20e3630922457ba24a6bcb684d05554">xymin</a>, const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt; &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a2b80f1171533c5123df5df305060f30b">xymax</a>, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a5782a1f9bb3ea603dd825bddd38591b0">cellnum</a>, const int &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a474b55ce6aa24ae4923a689fce84502e">species</a>, const vector&lt; int &gt; &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#ae6e024926296cf7c14c030313c0bc821">ppc</a>, const vector&lt; <a class="el" href="../../d0/de9/structParticles.html">Particles</a> &gt; &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a7b9c40c31ce78a0c1b1a0121a3607499">spptcl</a>, const double &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a5ec9eb1fda44296bfea67b7c7a3ccf5c">delta_t</a>, const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; int &gt; <a class="el" href="../../d3/dac/class____Cellgroup.html#a9aeb92258293494445bd29c98f42fc0e">position</a>, const long &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a8ca9bc2c9859e8d090e73879686f7416">maxid</a>)</td></tr>
<tr class="separator:afb3bb7b6b39411f2434a978fef00d481"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74ac01c3bfd861e6189bd4897d87749e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74ac01c3bfd861e6189bd4897d87749e"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>__Cellgroup</b> (const <a class="el" href="../../d3/dac/class____Cellgroup.html">__Cellgroup</a> &amp;other)</td></tr>
<tr class="separator:a74ac01c3bfd861e6189bd4897d87749e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7680b79ade62ab3db1407cb05139b644"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7680b79ade62ab3db1407cb05139b644"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a7680b79ade62ab3db1407cb05139b644">init</a> ()</td></tr>
<tr class="memdesc:a7680b79ade62ab3db1407cb05139b644"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化，创建cell，没有粒子 <br /></td></tr>
<tr class="separator:a7680b79ade62ab3db1407cb05139b644"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac8bd4f9cc5b2d92fcf56d67b437a772"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aac8bd4f9cc5b2d92fcf56d67b437a772"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#aac8bd4f9cc5b2d92fcf56d67b437a772">squeeze</a> ()</td></tr>
<tr class="memdesc:aac8bd4f9cc5b2d92fcf56d67b437a772"><td class="mdescLeft">&#160;</td><td class="mdescRight">压缩当前box的空间 <br /></td></tr>
<tr class="separator:aac8bd4f9cc5b2d92fcf56d67b437a772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a973897fe55bc34fcfa4cf4ddcc35c155"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a973897fe55bc34fcfa4cf4ddcc35c155">weight_to_grid</a> (const int &amp;myrank)</td></tr>
<tr class="memdesc:a973897fe55bc34fcfa4cf4ddcc35c155"><td class="mdescLeft">&#160;</td><td class="mdescRight">将粒子密度和电流密度插值到网格  <a href="#a973897fe55bc34fcfa4cf4ddcc35c155">More...</a><br /></td></tr>
<tr class="separator:a973897fe55bc34fcfa4cf4ddcc35c155"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71c47813c198aca79375c761460020d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a71c47813c198aca79375c761460020d5">weight_to_gridb</a> ()</td></tr>
<tr class="separator:a71c47813c198aca79375c761460020d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28dd0225f48a179ea3f6f3dd761256f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28dd0225f48a179ea3f6f3dd761256f0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>weight_to_gridc</b> ()</td></tr>
<tr class="separator:a28dd0225f48a179ea3f6f3dd761256f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab61f8a5cd10490962af1ae537bf25953"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab61f8a5cd10490962af1ae537bf25953"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#ab61f8a5cd10490962af1ae537bf25953">weight_to_ptcls</a> ()</td></tr>
<tr class="memdesc:ab61f8a5cd10490962af1ae537bf25953"><td class="mdescLeft">&#160;</td><td class="mdescRight">将场数据插值到粒子 <br /></td></tr>
<tr class="separator:ab61f8a5cd10490962af1ae537bf25953"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb393ef518c9a3f24bc25bbfb485a232"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb393ef518c9a3f24bc25bbfb485a232"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#adb393ef518c9a3f24bc25bbfb485a232">set_velocity</a> (const int &amp;sp, const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a9aeb92258293494445bd29c98f42fc0e">position</a>, const <a class="el" href="../../da/d1a/class____Vect3.html">__Vect3</a>&lt; double &gt; &amp;velocity)</td></tr>
<tr class="memdesc:adb393ef518c9a3f24bc25bbfb485a232"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置网格位置position处sp类粒子的速度 <br /></td></tr>
<tr class="separator:adb393ef518c9a3f24bc25bbfb485a232"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59f820535e43b7dcd652ac31cd2073ee"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59f820535e43b7dcd652ac31cd2073ee"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a59f820535e43b7dcd652ac31cd2073ee">set_sp_velocity</a> (const int &amp;sp, const <a class="el" href="../../da/d1a/class____Vect3.html">__Vect3</a>&lt; double &gt; &amp;velocity)</td></tr>
<tr class="memdesc:a59f820535e43b7dcd652ac31cd2073ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置当前box内sp类粒子的速度 <br /></td></tr>
<tr class="separator:a59f820535e43b7dcd652ac31cd2073ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32e447c440b6606e16ca99973a7cab81"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32e447c440b6606e16ca99973a7cab81"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a32e447c440b6606e16ca99973a7cab81">init_ptcls</a> ()</td></tr>
<tr class="memdesc:a32e447c440b6606e16ca99973a7cab81"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化当前box内的粒子 <br /></td></tr>
<tr class="separator:a32e447c440b6606e16ca99973a7cab81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9f8f21aed7bd93582a553b633e27163"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9f8f21aed7bd93582a553b633e27163"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#af9f8f21aed7bd93582a553b633e27163">advance</a> (const double &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a5ec9eb1fda44296bfea67b7c7a3ccf5c">delta_t</a>, vector&lt; vector&lt; <a class="el" href="../../d9/ddf/class____Ptcls.html">__Ptcls</a> &gt; &gt; &amp;templist, const int &amp;myrank, const int &amp;n)</td></tr>
<tr class="memdesc:af9f8f21aed7bd93582a553b633e27163"><td class="mdescLeft">&#160;</td><td class="mdescRight">推动当前cellgroup内粒子运动 <br /></td></tr>
<tr class="separator:af9f8f21aed7bd93582a553b633e27163"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a8311645eefd1e6f3a5ca3833b5b1ec"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8a8311645eefd1e6f3a5ca3833b5b1ec"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a8a8311645eefd1e6f3a5ca3833b5b1ec">dump</a> (const int &amp;rank, const int &amp;n, string fname, const int &amp;sp)</td></tr>
<tr class="memdesc:a8a8311645eefd1e6f3a5ca3833b5b1ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">输出当前进程rank，当前步n，文件名前缀fname，数据类型sp到文件 <br /></td></tr>
<tr class="separator:a8a8311645eefd1e6f3a5ca3833b5b1ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3ab0152b8f4de0938a168e0a88021f9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3ab0152b8f4de0938a168e0a88021f9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dump_ptcls</b> (const int &amp;rank, const int &amp;n, string fname, const int &amp;sp)</td></tr>
<tr class="separator:ac3ab0152b8f4de0938a168e0a88021f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9df1ed9d6dd6df19b0cc2ce79e4b9c7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab9df1ed9d6dd6df19b0cc2ce79e4b9c7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#ab9df1ed9d6dd6df19b0cc2ce79e4b9c7">clear_rhoj</a> ()</td></tr>
<tr class="memdesc:ab9df1ed9d6dd6df19b0cc2ce79e4b9c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">将rho, j field 清０ <br /></td></tr>
<tr class="separator:ab9df1ed9d6dd6df19b0cc2ce79e4b9c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98f66d26cc48c583d11ec6cd41f923fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a98f66d26cc48c583d11ec6cd41f923fe"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a98f66d26cc48c583d11ec6cd41f923fe">merge_ptcls</a> (const int &amp;max_ppc, const double &amp;delta_e, const double &amp;delta_v, const int &amp;sp)</td></tr>
<tr class="memdesc:a98f66d26cc48c583d11ec6cd41f923fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">合并粒子 <br /></td></tr>
<tr class="separator:a98f66d26cc48c583d11ec6cd41f923fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2badc9b1cf59d42c5ba2585e70b156b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2badc9b1cf59d42c5ba2585e70b156b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_bd</b> (int bd_types[])</td></tr>
<tr class="separator:ab2badc9b1cf59d42c5ba2585e70b156b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a5cc95e62e220546295a5a362f06711aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5cc95e62e220546295a5a362f06711aa"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a5cc95e62e220546295a5a362f06711aa">xygridmin</a></td></tr>
<tr class="memdesc:a5cc95e62e220546295a5a362f06711aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前group的gridmin <br /></td></tr>
<tr class="separator:a5cc95e62e220546295a5a362f06711aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed6b25f55f7b3c5a016a918ff1a6639d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed6b25f55f7b3c5a016a918ff1a6639d"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#aed6b25f55f7b3c5a016a918ff1a6639d">xygridmax</a></td></tr>
<tr class="memdesc:aed6b25f55f7b3c5a016a918ff1a6639d"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前group的gridmax <br /></td></tr>
<tr class="separator:aed6b25f55f7b3c5a016a918ff1a6639d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ca9bc2c9859e8d090e73879686f7416"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ca9bc2c9859e8d090e73879686f7416"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a8ca9bc2c9859e8d090e73879686f7416">maxid</a></td></tr>
<tr class="memdesc:a8ca9bc2c9859e8d090e73879686f7416"><td class="mdescLeft">&#160;</td><td class="mdescRight">maxid current for ptcls <br /></td></tr>
<tr class="separator:a8ca9bc2c9859e8d090e73879686f7416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae20e3630922457ba24a6bcb684d05554"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae20e3630922457ba24a6bcb684d05554"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#ae20e3630922457ba24a6bcb684d05554">xymin</a></td></tr>
<tr class="memdesc:ae20e3630922457ba24a6bcb684d05554"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前group的xymin,左下角坐标 <br /></td></tr>
<tr class="separator:ae20e3630922457ba24a6bcb684d05554"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b80f1171533c5123df5df305060f30b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b80f1171533c5123df5df305060f30b"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a2b80f1171533c5123df5df305060f30b">xymax</a></td></tr>
<tr class="memdesc:a2b80f1171533c5123df5df305060f30b"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前group的xymax，右上角坐标 <br /></td></tr>
<tr class="separator:a2b80f1171533c5123df5df305060f30b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5782a1f9bb3ea603dd825bddd38591b0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5782a1f9bb3ea603dd825bddd38591b0"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a5782a1f9bb3ea603dd825bddd38591b0">cellnum</a></td></tr>
<tr class="memdesc:a5782a1f9bb3ea603dd825bddd38591b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前group的cell num，在x 和 y 方向 <br /></td></tr>
<tr class="separator:a5782a1f9bb3ea603dd825bddd38591b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab274fc4e15d1ff0cb87e7bf0b46f4431"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab274fc4e15d1ff0cb87e7bf0b46f4431"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#ab274fc4e15d1ff0cb87e7bf0b46f4431">dxy</a></td></tr>
<tr class="memdesc:ab274fc4e15d1ff0cb87e7bf0b46f4431"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前group的cell宽度，dx 和 dy <br /></td></tr>
<tr class="separator:ab274fc4e15d1ff0cb87e7bf0b46f4431"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b9c40c31ce78a0c1b1a0121a3607499"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b9c40c31ce78a0c1b1a0121a3607499"></a>
vector&lt; <a class="el" href="../../d0/de9/structParticles.html">Particles</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a7b9c40c31ce78a0c1b1a0121a3607499">spptcl</a></td></tr>
<tr class="memdesc:a7b9c40c31ce78a0c1b1a0121a3607499"><td class="mdescLeft">&#160;</td><td class="mdescRight">species 是否启用 <br /></td></tr>
<tr class="separator:a7b9c40c31ce78a0c1b1a0121a3607499"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a474b55ce6aa24ae4923a689fce84502e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a474b55ce6aa24ae4923a689fce84502e"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a474b55ce6aa24ae4923a689fce84502e">species</a></td></tr>
<tr class="memdesc:a474b55ce6aa24ae4923a689fce84502e"><td class="mdescLeft">&#160;</td><td class="mdescRight">species total <br /></td></tr>
<tr class="separator:a474b55ce6aa24ae4923a689fce84502e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6e024926296cf7c14c030313c0bc821"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6e024926296cf7c14c030313c0bc821"></a>
vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#ae6e024926296cf7c14c030313c0bc821">ppc</a></td></tr>
<tr class="memdesc:ae6e024926296cf7c14c030313c0bc821"><td class="mdescLeft">&#160;</td><td class="mdescRight">species 的 particle per cell <br /></td></tr>
<tr class="separator:ae6e024926296cf7c14c030313c0bc821"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3154a9e77e168377fade699c2ee08bb3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3154a9e77e168377fade699c2ee08bb3"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a3154a9e77e168377fade699c2ee08bb3">disable_em</a> = 0</td></tr>
<tr class="memdesc:a3154a9e77e168377fade699c2ee08bb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否关闭em <br /></td></tr>
<tr class="separator:a3154a9e77e168377fade699c2ee08bb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71c254ff80e49d94d771dbc792d8d2e9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71c254ff80e49d94d771dbc792d8d2e9"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a71c254ff80e49d94d771dbc792d8d2e9">bd_type</a> [4]</td></tr>
<tr class="memdesc:a71c254ff80e49d94d771dbc792d8d2e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">bd_type <br /></td></tr>
<tr class="separator:a71c254ff80e49d94d771dbc792d8d2e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ec9eb1fda44296bfea67b7c7a3ccf5c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5ec9eb1fda44296bfea67b7c7a3ccf5c"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a5ec9eb1fda44296bfea67b7c7a3ccf5c">delta_t</a></td></tr>
<tr class="memdesc:a5ec9eb1fda44296bfea67b7c7a3ccf5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">dt <br /></td></tr>
<tr class="separator:a5ec9eb1fda44296bfea67b7c7a3ccf5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9aeb92258293494445bd29c98f42fc0e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9aeb92258293494445bd29c98f42fc0e"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a9aeb92258293494445bd29c98f42fc0e">position</a></td></tr>
<tr class="memdesc:a9aeb92258293494445bd29c98f42fc0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">这个位置用来记录在MPI中的位置 <br /></td></tr>
<tr class="separator:a9aeb92258293494445bd29c98f42fc0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2e1725d6a24ff12ccdc236d55682a73"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2e1725d6a24ff12ccdc236d55682a73"></a>
vector&lt; vector&lt; <a class="el" href="../../d2/db1/class____Cellinfo.html">__Cellinfo</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#aa2e1725d6a24ff12ccdc236d55682a73">member</a></td></tr>
<tr class="memdesc:aa2e1725d6a24ff12ccdc236d55682a73"><td class="mdescLeft">&#160;</td><td class="mdescRight">cellinfo 数据 <br /></td></tr>
<tr class="separator:aa2e1725d6a24ff12ccdc236d55682a73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bea15957c1f035a3803f7b32303f79a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2bea15957c1f035a3803f7b32303f79a"></a>
vector&lt; vector&lt; <a class="el" href="../../da/d1a/class____Vect3.html">__Vect3</a>&lt; double &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>jfield</b></td></tr>
<tr class="separator:a2bea15957c1f035a3803f7b32303f79a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d60577b2279353dd3de45abb794e35a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7d60577b2279353dd3de45abb794e35a"></a>
vector&lt; vector&lt; double &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>rhofield</b></td></tr>
<tr class="separator:a7d60577b2279353dd3de45abb794e35a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc5caa91eab8d6a9dc0bae5b7a8d315b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc5caa91eab8d6a9dc0bae5b7a8d315b"></a>
vector&lt; vector&lt; vector&lt; double &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>density_grid</b></td></tr>
<tr class="separator:adc5caa91eab8d6a9dc0bae5b7a8d315b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53aca294ec6375d224fd8340422228d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a53aca294ec6375d224fd8340422228d1"></a>
vector&lt; vector&lt; vector&lt; double &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>energy_grid</b></td></tr>
<tr class="separator:a53aca294ec6375d224fd8340422228d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a2cf48aa3d5761fa1d3460997af22e3fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2cf48aa3d5761fa1d3460997af22e3fc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/dac/class____Cellgroup.html#a2cf48aa3d5761fa1d3460997af22e3fc">monte_carlo</a> (<a class="el" href="../../d9/df6/class____Cellfield.html">__Cellfield</a> &amp;mygroup, const int &amp;type, const double &amp;<a class="el" href="../../d3/dac/class____Cellgroup.html#a5ec9eb1fda44296bfea67b7c7a3ccf5c">delta_t</a>, vector&lt; vector&lt; double &gt; &gt; &amp;tables1d, vector&lt; vector&lt; vector&lt; double &gt; &gt; &gt; &amp;tables2d)</td></tr>
<tr class="memdesc:a2cf48aa3d5761fa1d3460997af22e3fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用这个函数来产生事件, 其实只是设置了events_type变量，过程在cell中进行, 0: synchrotron radiation 1: bremsstrahlung radiation, 2: Breit_Wheeler pair, 3: Bethe-Hetiler pair <br /></td></tr>
<tr class="separator:a2cf48aa3d5761fa1d3460997af22e3fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>网格二维数组群，来表征一个box内的cell信息，cell是其内部的member </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a973897fe55bc34fcfa4cf4ddcc35c155"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Cellgroup::weight_to_grid </td>
          <td>(</td>
          <td class="paramtype">const int &amp;&#160;</td>
          <td class="paramname"><em>myrank</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将粒子密度和电流密度插值到网格 </p>
<p>保存临时单个粒子的贡献</p>
<p>对相邻的三个cell中的场进行插值到粒子 这里采用相对坐标local</p>
<p>两个是坐标是粒子最近格点，另一个是第一次的格点</p>
<p>相邻的3个个点，xy方向都可能有影响 </p>

</div>
</div>
<a class="anchor" id="a71c47813c198aca79375c761460020d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Cellgroup::weight_to_gridb </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>对相邻的三个cell中的场进行插值到粒子 这里采用相对坐标local </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="../../da/d64/cellinf_8h_source.html">cellinf.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 16 2015 22:48:37 for hybridMPIC by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
